package main

import (
	"github.com/gin-gonic/gin"
	"lin6xcom/src/router"
	"lin6xcom/src/utils"
)

func main() {
	//data := utils.GetConfig()
	//fmt.Println(data)
	e := gin.Default()
	e.Use(utils.Cors())
	router.IndexRouter(e)
	utils.LinkDB()
	if err := e.Run(":8088"); err != nil {
		panic(err)
	}
}
